package com.example.building_material_mannager.controller;

import com.example.building_material_mannager.entity.PaymentAndPurchasetable;
import com.example.building_material_mannager.entity.PaymentFlow;
import com.example.building_material_mannager.service.PaymentFlowService;
import com.example.building_material_mannager.util.PageUtil;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;
import java.util.List;

@Controller
public class PaymentFlowController {
    @Resource
    PaymentFlowService paymentFlowService;
//查询分页
    public PageUtil<List<PaymentFlow>> selectPaymentFlow(PaymentFlow paymentFlow) {
        return paymentFlowService.selectPaymentFlow(paymentFlow);
    }
}
